/*
 * @Author: szx
 * @Date: 2022-06-08 11:08:23
 * @LastEditTime: 2022-06-08 11:08:24
 * @Description: 
 * @FilePath: \leetcode\1000-1099\1037\1037.js
 */
var isBoomerang = function(points) {
    const v1 = [points[1][0] - points[0][0], points[1][1] - points[0][1]];
    const v2 = [points[2][0] - points[0][0], points[2][1] - points[0][1]];
    return v1[0] * v2[1] - v1[1] * v2[0] != 0;
};
